import React, {Fragment} from 'react';
import StartNode from "@/pages/WorkFlowDesigner/Node/StartNode";
import {Space} from 'antd';
import ApprovalNode from "@/pages/WorkFlowDesigner/Node/ApprovalNode";
import {EndNode} from "@/pages/WorkFlowDesigner/Node/EndNode";
import BranchNode from "@/pages/WorkFlowDesigner/Node/BranchNode";
import "./node.less"

/**
 * 条件渲染节点
 */
export default React.memo(() => {

    return (
        <Fragment>

            <Space direction="vertical" size="large" className="ant-space-compact">
                <StartNode/>
                <ApprovalNode/>
                <BranchNode/>
                <ApprovalNode/>
                <EndNode/>
            </Space>

        </Fragment>
    )
})
